package com.example.demo.Command1;

public class NoodleCommand implements Command {
    private Chef chef;

    public NoodleCommand(Chef chef) {
        this.chef = chef;
    }

    @Override
    public void execute() {
        chef.makeFood();
    }
}
